<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>弹屏的页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	<link rel="stylesheet" type="text/css" href="wzp/css/popup.css">
	<script type="text/javascript" src="wzp/js/tinybox.js"></script> 
	-->
  
	<link rel="stylesheet" type="text/css" href="wzp/css/eventaccept.css">
	<link rel="stylesheet" type="text/css" href="wzp/css/popup.css">
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> 
	<script type="text/javascript" src="js/jquery.alphanumeric.pack.js"></script>
	<script type="text/javascript" src="js/jquery.validate.pack.js"></script> 
	<script type="text/javascript" src="wzp/js/accept.js"></script> 
	
	<script type="text/javascript" src="/ag/My97DatePicker/WdatePicker.js" defer="defer"></script>
	</head>
	 
	<body>
	
	<form id="acceptForm" action="" method="post" >
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="wzp/images/tab_03.gif" width="15" height="30" /></td>
        <td width="100%" background="wzp/images/tab_05.gif"></td>
        <td width="14"><img src="wzp/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0"  cellspacing="0" >
      <tr>
        <td width="9" background="wzp/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd">
          <table  width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#84b1d3" >
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">事件来源：</span>
            	<select id="eventSource" name="event.tbEventSource.esId" >
				</select>
			</td>
            <td class="tdtab" width="34%"><span class="tdspan">联系方式：</span>
            	<input id="submitContact" name="event.ESubmiterContact" type="hidden" 
            	value="${number}" size="18" /> <em>${number}</em> 
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">报送时间：</span>
            	<input id="submitTime" name="event.ESubmitTime" type="text" value="${d}" size="18" />${d}
            </td>
          </tr>
           <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan"><span style="color:red">*</span> 报送人：</span>
					<input id="submiter" name="event.ESubmiter" type="text" size="18" />
            </td>
            <!--  
            <td class="tdtab" width="34%"><span class="tdspan"><span style="color:red">*</span>报送部门：</span>
            	<input id="submitDept" type="text" name="event.ESubmitDept" size="18" />
            </td>
            -->
            <td class="tdtab" width="34%"><span class="tdspan">接报人：</span>
					<input id="user" name="event.tbUserByUId.UId"  type="hidden" 
					 value="<s:property value="#session.user_session.tbUser.UId"/>"  />
					<s:property value="#session.user_session.tbUser.UName"/>
			</td>
			<td class="tdtab" width="33%"></td>
          </tr>
          <tr class="trtab">
          	<!--  
         	 <td class="tdtab" width="33%"><span class="tdspan"><span style="color:red">*</span>事发地点：</span>
				<input id="eventAddr" name="event.EEventAddr" type="text" size="18" />
				<button id="chosedept"> 定位 </button>
			</td>
			<td class="tdtab" width="34%"><span class="tdspan">经度：</span>
				<input id="longitude" name="event.ELongitude"  type="text" size="18" />
            </td>	 
            <td class="tdtab" width="33%"><span class="tdspan">纬度：</span>
            	<input id="latitude" name="event.ELatitude"  type="text" size="18" />
            </td>
            -->
          
            <td class="tdtab" colspan="3"><span class="tdspan"><span style="color:red">*</span>事发地点：</span>
				<input id="eventAddr" name="event.EEventAddr" type="text" style="width:40%" />
				<button id="maps"> 定位 </button>
			 	<span style="padding-left: 32;"> 经度：
				<input id="longitude" name="event.ELongitude"  type="text" size="8" /></span>
            	 
            	<span style="padding-left: 15;">纬度：
            	<input id="latitude" name="event.ELatitude"  type="text" size="8" /></span>
            </td>
            
          </tr>
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan"><span style="color:red">*</span>事发时间：</span>
            	<input id="eventTime" name="event.EEventtime" type="text" class="Wdate" size="18"
					onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
			</td>
            <td class="tdtab" width="67%" colspan="2"><span class="tdspan"><span style="color:red">*</span>事件名称：</span>
				<input id="eventName" name="event.EEventname" type="text" style="width:70%"/>
            </td>
            
          </tr>
          <tr class="trtab">
          	<td class="tdtab" width="33%"><span class="tdspan"><span style="color:red">*</span>事件类型：</span>
            	<select id="eventType" name="event.tbEventType.etId" >
				</select>
            </td>
            <td class="num tdtab" width="34%" ><span class="tdspan">死亡人数：</span>
           		<input id="death" name="event.EDeaths"  type="text" size="18" />
			</td>
            <td class="num tdtab" width="33%"><span class="tdspan">受伤人数：</span>
				<input id="injuries" name="event.EInjuries"  type="text" size="18" />
            </td>
            <!--  
             <td class="tdtab" width="33%"><span class="tdspan"><span style="color:red">*</span>事件等级：</span>
				<select id="eventLevel" name="event.tbEventLevel.elId" ></select>
            </td>
            -->
          </tr>
           
          <tr class="trtab">
		  	<td class="tdtab2" colspan="3"><span style="float: left; padding-top:20; width:104;text-align:right" >
		  		<span style="color:red">*</span>事件原因：</span>
		  		<span >
					<textarea id="eventCause" name="event.EEventCause" rows="5" style="width:100%" ></textarea>
				</span>
			</td>
		  </tr>
		  <tr class="trtab">
		  	<td class="tdtab2" colspan="3"><span style="float: left; padding-top:20; width:104;text-align:right" >
		  		<span style="color:red">*</span>事件描述：</span>
		  		<span >
					<textarea id="eventDesc" name="event.EEventDesc" rows="5" style="width:100%" ></textarea>
				</span>
			</td>
		  </tr>
		   <tr class="trtab">
		  	<td class="tdtab2" colspan="3"><span style="float: left; padding-top:20;width:104;text-align:right">已采取措施：</span>
		  		<span >
					<textarea id="takeMeasure" name="event.ETakeMeasure" rows="5" style="width:100%" ></textarea>
				</span>
			</td>
		  </tr>
          <tr class="trtab">
          	<td colspan="3" align="center">
          		<input class="submit" type="submit" value="提交"/> 
          		<span style="padding-left:20">
          		<input class="submit" type="reset" value="重置"/></span>
          	</td>
          </tr>
        </table></td>
        <td width="9" background="wzp/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="wzp/images/tab_20.gif" width="15" height="29" /></td>
        <td width="100%" background="wzp/images/tab_21.gif"> </td>
        <td width="14"><img src="wzp/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
 
<!-- 弹出窗口的div -->
	<div class="demo" style="display:none;">
	
    <!-- 负责人选择窗口 -->	
    <div id="notifyLeaderWindow">
        <table  border='0' width='98%' height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div id="DeptForm">
                              <table width="480" align="center">
                              <thead>
                              <tr><td align="left"> 
                              		<div style="margin-top: 5px">事件保存成功,受理单号：<span id='eventId' style='color:red;font-size:18'></span></div>
							  		<div style="margin-top: 5px">带班领导：<span id="leader" style="color: #960;"></span><span id="leaderId" style="display:none"></span></div>
							  		<div><button id='selectUser' >选择其他人员</button></div>
							  		<div style="margin-top: 5px"><span>通知内容：</span></div>
							  		<div>
									 <textarea id='smsContent' style='width:460;height:120'></textarea>
									  </div>
							   </td></tr>
							   </thead>
						 <tr class="trtab">
          					<td  align="center">
          						<input id='notify' class="submit" type="Button" value="通知"/> 
          						<span style="padding-left:20">
          						<input id='cancelNotify' class="submit" type="button" value="取消"/></span>
          						</td>
          					</tr>
                        </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
	<!-- 负责人选择窗口 -->	
    <div id="leaderChooseWindow">
        <table  border='0' width='98%'  height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div id="userForm">
                              <table width="480px" align="center">
                                 <tbody id="selectArea" >
                                 	<tr>
								<td align="left">
                                 	<span class="span_n" style="color: #960;">选择方式:</span>
                                 	<input name='select' type='radio' id='role' checked="checked"/>按角色选择
									<input name='select' type='radio' id='dept' />按部门选择
								</td>
					   		</tr>
					   		<tr id='roleArea' >
								  <td align="left">
									   <span class="span_n" >按角色选择:</span>
									    <select id="roleList" ></select>
								  </td>
								  
							   </tr>
							  <tr id='deptArea' style="display:none">
								  <td align="left">
									   <span class="span_n" style="color: #960;">按部门选择:</span>
									    <select id="deptType" class="deptType" ></select>
										<select id="q_UDept" class="uDept" ></select>
								  </td>
							   </tr>
							 
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="460px" align="center">
										<tr>
									  <td width="190px" align="center"><span class="span_n" style="color: #960;">可选人员</span></td>
									  <td width="80px" align="center" ></td>
									  <td width="190px" align="center" ><span class="span_n" style="color: #960;">已选人员 </span></td>
									   </tr>
									   <tr>
									  <td width="190px" height="180px" align="right">
										<select style="width:190px;height:180px" id="subDepts" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
									  <td width="80px" align="center" > 
									    <img id="addDept" src="wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept" src="wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
									  <td width="190px" height="180px" align="left" >
                                       <select style="width:190px;height:180px" id="selDepts" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
									</tr>
										    </table>
										 </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						 <tr class="trtab">
          					<td  align="center">
          						<input id='selOk' class="submit" type="Button" value="确定"/> 
          						<span style="padding-left:20px">
          						<input id='selCancel' class="submit" type="button" value="取消"/></span>
          						</td>
          					</tr>
                        </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
    <div id="dialog-message" title="操作结果" style="display:none"> 
	 
	<div id="message" style="padding-top:15"> 
	</div> 
	</div> 
	</div>
	<!-- 弹出窗口的end -->
	</body>
	<script type="text/javascript" src="wzp/js/chooseUser.js"></script> 
	<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />
	<link type="text/css" href="/ag/css/dialog/demos.css" rel="stylesheet" />
	<!-- JQuery的UI插件库 -->
	<script type="text/javascript" src="/ag/js/dialog/jquery.bgiframe-2.1.1.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.core.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.button.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.draggable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.position.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.resizable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.dialog.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.effects.core.js"></script>
	<script type="text/javascript" src="/ag/js/accrodin/jquery.ui.accordion.js"></script>
</html>